package com.hulk.dryad.manage.framework.logstash.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * Logstash 配置
 *
 * @author hulk
 */
@Getter
@Setter
@ConfigurationProperties(LoggingLogstashProperties.PREFIX)
public class LoggingLogstashProperties {

	static final String PREFIX="dryad.logstash";

	/**
	 * 是否开启 logstash 日志收集
	 */
	private boolean enabled = false;
	/**
	 * logstash host
	 */
	private String host = "localhost";
	/**
	 * logstash port
	 */
	private int port = 5000;
	/**
	 * logstash 队列大小
	 */
	private int queueSize = 512;




}
